<?php
declare (strict_types = 1);
namespace app\circle\model;

use app\common\model\BaseModel;
use think\model\concern\SoftDelete;

/**
 * 团购活动模型
 */
class Like extends BaseModel
{
    use softDelete;
    /**
     * 表名
     * @var string
     */
    protected $name = 'circle_like';

    /**
     * 定义字段类型
     * @var array
     */
    protected $type = [
        'id'            => 'integer',
        'type'          => 'integer',
        'obj_id'        => 'integer',
        'user_id'       => 'integer',
        'create_time'   => 'integer',
    ];

    /**
     * 定义隐藏字段
     * @var string
     */
    protected $hidden = ['delete_time'];

}
